package com.sunday.common.mybatis.business.annotation.annotation;

import com.sunday.common.mybatis.business.annotation.core.DataStrongCheck;
import com.sunday.common.mybatis.business.annotation.core.NoopStrongCheck;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({})
@Retention(RetentionPolicy.RUNTIME)
public @interface Son {

    /**
     * 执行器
     */
    Class<? extends DataStrongCheck> executor() default NoopStrongCheck.class;

    /**
     * 条件检索 json类型
     */
    String queryJson() default "";

    /**
     * 参数未匹配时时否检测
     */
    boolean check() default true;

}
